package com.credit.jumu.playcard.activity;

import android.app.Activity;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;

import com.credit.jumu.playcard.R;
import com.credit.jumu.playcard.base.BaseActivity;
import com.credit.jumu.playcard.utils.ToastUtil;

/**
 * Created by Administrator on 2017/10/19/019.
 */

public class RechargeActivity extends BaseActivity {
	ImageView imageIcon;
	ImageView titleback;
	TextView title;
	TextView next;

	@Override
	protected void onCreate(@Nullable Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_recharge);
		imageIcon = (ImageView) findViewById(R.id.imageIcon);
		imageIcon.setVisibility(View.GONE);
		titleback = (ImageView) findViewById(R.id.titleback);
		titleback.setVisibility(View.VISIBLE);
		title = (TextView) findViewById(R.id.title);
		title.setText("充值");
		next = (TextView) findViewById(R.id.next);
		next.setOnClickListener(new View.OnClickListener() {
			@Override
			public void onClick(View v) {
				ToastUtil.showShortToast("功能暂未开通");
				RechargeActivity.this.finish();
				BindingCardActivity.instance.finish();
			}
		});
		backClick(R.id.titleback, this);
	}
}
